Calculates the shader variables alignment based on the packFunc passed at startup. Those functions are based on the shader vendor and version. Align should be called always when there is a change on the layout.
See Implementation
Calculates the shader variables alignment based on the packFunc passed at startup. Those functions are based on the shader vendor and version. Align should be called always when there is a change on the layout.